#include<stdio.h>
int main()
{
	int p=1;
	int i=2;
	while(i<=100)
		{
		p=i+p;
		i=i+1;
		}
	printf ("1到100相加之和=%d",p);
}
